OPC Studio User's Guide and Reference
UANetworkServerDiscoveryQuery Constructor(String,IEnumerable<String>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UANetworkServerDiscoveryQuery Class > UANetworkServerDiscoveryQuery Constructor : UANetworkServerDiscoveryQuery Constructor(String,IEnumerable<String>)
The name of the machine that runs the discovery server that will be used for performing the discovery.
List of Server capability filters. Only records with all the specified server capabilities are returned.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal discoveryHost As String, _
   ByVal serverCapabilityFilter As IEnumerable(Of String) _
)
'Usage
 
Dim discoveryHost As String
Dim serverCapabilityFilter As IEnumerable(Of String)
 
Dim instance As New UANetworkServerDiscoveryQuery(discoveryHost, serverCapabilityFilter)
public UANetworkServerDiscoveryQuery( 
   string discoveryHost,
   IEnumerable<string> serverCapabilityFilter
)
public:
UANetworkServerDiscoveryQuery( 
   String^ discoveryHost,
   IEnumerable<String^>^ serverCapabilityFilter
)

Parameters

discoveryHost
The name of the machine that runs the discovery server that will be used for performing the discovery.
serverCapabilityFilter
List of Server capability filters. Only records with all the specified server capabilities are returned.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also